//---------------------------------------------------------------------------

#ifndef f_PilhaH
#define f_PilhaH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <vcl.h>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "classePilha.h"
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TfrmPilha : public TForm
{
__published:	// IDE-managed Components
	TLabel *Label3;
	TLabel *lblTotalElementos;
	TPanel *Panel1;
	TButton *btnAlterar;
	TButton *btnLimpar;
	TButton *btnRemover;
	TButton *btnAutoCompletar;
	TButton *btnInserir;
	TListBox *lstValores;
	TEdit *edtValorInteracao;
	TLabel *Label4;
	void __fastcall btnInserirClick(TObject *Sender);
	void __fastcall btnAlterarClick(TObject *Sender);
	void __fastcall btnRemoverClick(TObject *Sender);
	void __fastcall btnLimparClick(TObject *Sender);
	void __fastcall btnAutoCompletarClick(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
private:	// User declarations
	Pilha* edPilha;
	void atualiza();
public:		// User declarations
	__fastcall TfrmPilha(TComponent* Owner, Pilha *);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPilha *frmPilha;
//---------------------------------------------------------------------------
#endif
